package com.caogen.cg_wl_kt.net

import com.caogen.cg_wl_kt.model.UserBean
import com.google.gson.JsonObject
import okhttp3.RequestBody
import org.json.JSONObject
import retrofit2.Call
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.PartMap
import retrofit2.http.Query
import retrofit2.http.QueryMap

/**
 * 项目名称: cg_wl_kt
 * Packages:com.caogen.cg_wl_kt.net
 * author: FSW
 * 创建日期: 2024/2/26 11:37
 * Describe:
 *
 */
interface HttpApiService {
//    @Multipart
//    @POST(UrlProtocol.LOGIN)
//    fun login(
//        @PartMap requestBodyMap:MutableMap<String,RequestBody>
//    ): Call<HttpRes<UserBean>>

    @Multipart
    @POST(UrlProtocol.LOGIN)
    fun login(
        @PartMap requestBodyMap:MutableMap<String,RequestBody>
    ): Call<HttpRes<JsonObject>>
}